<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="步骤5：执行备份">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="volume_0011.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
<meta name="DC.Publisher" content="20240320">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="volume_0016">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>步骤5：执行备份</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="volume_0016"></a><a name="volume_0016"></a>

<h1 class="topictitle1">步骤5：执行备份</h1>
<div><p>执行备份前将需要保护的资源关联到指定SLA，系统将对这些资源按照SLA进行保护，并根据SLA周期性执行备份任务。如需立即执行一次备份任务时，可以通过手动备份实现。</p>
<div class="section"><h4 class="sectiontitle">注意事项</h4><ul><li>手动备份时，SLA中定义的参数（<span class="uicontrol">“<span>失败后自动重试</span>”</span>除外）会应用到手动备份任务中。</li><li>手动备份产生的副本保留时长按照SLA中的定义进行保留。</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">作步骤</h4><ol><li><span>选择<span class="uicontrol" id="volume_0016__zh-cn_topic_0000001839142377_uicontrol34250519116">“<span id="volume_0016__zh-cn_topic_0000001839142377_text154255511911">保护</span> &gt; 文件系统 &gt; 卷”</span>。</span></li><li><span>勾选需要保护的卷，单击<span class="uicontrol">“<span>保护</span>”</span>。</span><p><p>您也可以勾选多个卷进行批量保护。</p>
</p></li><li><span>选择SLA。</span><p><div class="p" id="volume_0016__zh-cn_topic_0000001964713008_p16181740836">您也可以单击<span class="uicontrol" id="volume_0016__zh-cn_topic_0000001964713008_uicontrol744210206420">“<span id="volume_0016__zh-cn_topic_0000001964713008_text1873812341015">创建</span>”</span>，创建新的SLA。<div class="note" id="volume_0016__zh-cn_topic_0000001964713008_note25947145710"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p id="volume_0016__zh-cn_topic_0000001964713008_p125947145711"><span id="volume_0016__zh-cn_topic_0000001964713008_ph1413818422327">如果待保护的资源已设置WORM策略，为避免WORM策略冲突，请选择不包含WORM策略的SLA创建保护。</span></p>
</div></div>
</div>
</p></li><li><span>配置卷保护高级参数。</span><p><div class="p">相关参数说明如<a href="#volume_0016__table354613271506">表1</a>所示。
<div class="tablenoborder"><a name="volume_0016__table354613271506"></a><a name="table354613271506"></a><table cellpadding="4" cellspacing="0" summary="" id="volume_0016__table354613271506" frame="border" border="1" rules="all"><caption><b>表1 </b>卷保护高级参数说明</caption><colgroup><col style="width:19.75%"><col style="width:80.25%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="19.75%" id="mcps1.3.3.2.4.2.1.2.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="80.25%" id="mcps1.3.3.2.4.2.1.2.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="19.75%" headers="mcps1.3.3.2.4.2.1.2.2.3.1.1 "><p>操作系统备份</p>
</td>
<td class="cellrowborder" valign="top" width="80.25%" headers="mcps1.3.3.2.4.2.1.2.2.3.1.2 "><p>默认关闭，开启后除了会备份选定的卷，还会备份系统卷，收集磁盘驱动器数量、卷信息、文件系统信息、网络信息。</p>
<div class="note"><span class="notetitle"> 说明： </span><div class="notebody"><p>开启操作系统备份后，无论有无选择/boot目录所在卷，都会备份/boot目录。</p>
</div></div>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="19.75%" headers="mcps1.3.3.2.4.2.1.2.2.3.1.1 "><p>执行脚本</p>
</td>
<td class="cellrowborder" valign="top" width="80.25%" headers="mcps1.3.3.2.4.2.1.2.2.3.1.2 "><div class="p"><span style="color:#282B33;">可根据实际情况，在备份任务执行前、或备份任务执行成功后、或备份任务执行失败后，执行用户自定义的脚本，脚本类型为sh。若将脚本放置在DataBackup/ProtectClient/ProtectClient-E/sbin/thirdparty目录下，则只需填写脚本名称，若将脚本放置在其他目录下，则需要填写脚本绝对路径。</span><div class="note"><span class="notetitle"> 说明： </span><div class="notebody"><p id="volume_0016__postgresql-0045_zh-cn_topic_0000001264099602_p196461512103113">当配置了<span class="uicontrol" id="volume_0016__postgresql-0045_zh-cn_topic_0000001264099602_uicontrol180112781919">“<span id="volume_0016__postgresql-0045_zh-cn_topic_0000001264099602_text10711756153116">恢复成功执行脚本</span>”</span>时，即使该脚本执行失败，<span id="volume_0016__postgresql-0045_text712055613536">OceanProtect</span>上也会显示恢复任务的状态为<span class="uicontrol" id="volume_0016__postgresql-0045_zh-cn_topic_0000001264099602_uicontrol488919204209">“<span id="volume_0016__postgresql-0045_zh-cn_topic_0000001264099602_text186291135132417">成功</span>”</span>。请您留意任务详情中是否有后置脚本执行失败的相关提示，如有请及时修正脚本。</p>
</div></div>
</div>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="19.75%" headers="mcps1.3.3.2.4.2.1.2.2.3.1.1 "><div class="p">备份副本自动索引<div class="note" id="volume_0016__vmware_gud_0028_note17447255201"><span class="notetitle"> 说明： </span><div class="notebody"><p id="volume_0016__vmware_gud_0028_vmware_gud_0028_p168431642184919">仅1.6.0及后续版本支持此参数。</p>
</div></div>
</div>
</td>
<td class="cellrowborder" valign="top" width="80.25%" headers="mcps1.3.3.2.4.2.1.2.2.3.1.2 "><p><span style="color:#282B33;">开启后，系统自动为副本创建文件索引，创建索引后，支持搜索副本中的文件、目录或链接。</span><span style="color:#282B33;">您也可以为副本手动创建索引。</span></p>
<div class="note"><span class="notetitle"> 说明： </span><div class="notebody"><p id="volume_0016__vmware_gud_0028_nas_s_0016_p0743109201911">索引需要占用备份存储空间，当系统中的索引文件总数超过10亿时，请按照<span id="volume_0016__vmware_gud_0028_nas_s_0016_cite23814569190">《OceanProtect DataBackup 1.5.0-1.6.0 故障处理》</span>中的“创建副本索引失败”章节进行处理。</p>
</div></div>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="19.75%" headers="mcps1.3.3.2.4.2.1.2.2.3.1.1 "><p>对象存储归档副本自动索引</p>
</td>
<td class="cellrowborder" valign="top" width="80.25%" headers="mcps1.3.3.2.4.2.1.2.2.3.1.2 "><p>对于文件集/NAS文件系统/NAS共享，当归档存储类型选择为“<span>对象存储</span>”时，显示该参数。对于其他应用不显示该参数。</p>
<p>开启后<span style="color:#282B33;">不支持关闭。</span>系统会自动为副本创建文件索引，创建索引后，支持恢复单个或多个文件。</p>
<div class="note"><span class="notetitle"> 说明： </span><div class="notebody"><p>索引需要占用备份存储空间，当系统中的索引文件总数超过10亿时，请按照<span>《OceanProtect DataBackup 1.5.0-1.6.0 故障处理》</span>中的“创建副本索引失败”章节进行处理。</p>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</p></li><li><span>单击<span class="uicontrol" id="volume_0016__zh-cn_topic_0000001964713008_zh-cn_topic_0000001656691397_uicontrol471113581111">“确定”</span>。</span><p><p id="volume_0016__zh-cn_topic_0000001964713008_zh-cn_topic_0000001656691397_p25041111535">如果当前系统时间已晚于SLA首次备份的开始时间，可以在弹出的对话框中选择立即执行手动备份或者根据SLA中设置的备份策略周期性自动执行备份。</p>
</p></li><li><span>执行手动备份</span><p><p>当需要立即执行一次备份任务时，可以执行以下操作进行手动备份。否则，可跳过本步骤。</p>
<ol type="a"><li>在需要备份的卷所在行单击<span class="uicontrol">“<span>更多</span> &gt; <span>手动备份</span>”</span>。<div class="note"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><ol><li>支持选择多个资源批量进行手动备份。勾选多个资源，在页面左上角选择<span class="uicontrol">“<span>更多</span> &gt; <span>手动备份</span>”</span>。</li></ol>
</div></div>
</li><li>设置手动备份产生的副本名称。</li><li>如果您不设置，系统默认设置副本名称为：backup_时间戳。</li><li>选择保护策略：全量备份或<span style="color:#282B33;">永久增量（合成全量）备份</span>。<div class="note"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p><span id="volume_0016__zh-cn_topic_0000001964713008_ph19374310343">对于1.6.0及后续版本，如果选择的保护策略与关联的SLA中配置的保护策略不一致，则WORM配置不生效。</span></p>
</div></div>
</li><li>单击<span class="uicontrol">“<span>确定</span>”</span>。</li></ol>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="volume_0011.html">备份卷</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>